import {UPDATE_RDP_PROPERTIES,UPDATE_SSH_PROPERTIES,GET_RDP_PROPERTIES,GET_SSH_PROPERTIES} from '@/services/api'
import {request, METHOD} from '@/utils/request'


export async function updateRdpProperties(data) {
    return request(UPDATE_RDP_PROPERTIES, METHOD.POST,data)
}

export async function updateSshProperties(data) {
    return request(UPDATE_SSH_PROPERTIES, METHOD.POST,data)
}

export async function getRdpProperties() {
    return request(GET_RDP_PROPERTIES, METHOD.GET)
}
export async function getSshProperties() {
    return request(GET_SSH_PROPERTIES, METHOD.GET)
}


export default {
    updateRdpProperties,
    updateSshProperties,
    getRdpProperties,
    getSshProperties
}
